package com.fps.web.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.fpswork.core.exception.exception.BusinessException;
import com.fpswork.core.model.PageEntity;
import com.fps.web.dao.BasemenuDao;
import com.fps.web.model.Basemenu;
import com.fps.web.service.BasemenuService;
@Service
@Transactional
public class BasemenuServiceImpl implements BasemenuService{
    
    @Autowired
    BasemenuDao basemenuDao;
    public PageEntity queryBasemenuList(PageEntity pageEntity)  throws BusinessException{
     	return basemenuDao.queryBasemenuList(pageEntity);
    }
	public Basemenu addBasemenu(Basemenu basemenu)  throws BusinessException{
		return basemenuDao.addBasemenu(basemenu);
	}
	public Basemenu updateBasemenu(Basemenu basemenu)  throws BusinessException{
		return basemenuDao.updateBasemenu(basemenu);
	}
	public Basemenu queryBasemenuByID(String id)  throws BusinessException{
		return basemenuDao.queryBasemenuByID(id);
	}
	public Boolean deleteBasemenu(Basemenu basemenu)  throws BusinessException{
		return basemenuDao.deleteBasemenu(basemenu);
	}
}
